package net.kevin.db.mapper;

import java.sql.ResultSet;
import java.sql.SQLException;

import org.springframework.jdbc.core.RowMapper;

import net.kevin.db.model.CodeMaster;

public class CodeMasterMapper implements RowMapper<CodeMaster> {
	@Override
	public CodeMaster mapRow(ResultSet rs, int rowNum) throws SQLException {
		CodeMaster codeMaster = new CodeMaster();
		MapperTool.mapper(rs, codeMaster);
		return codeMaster;
	}
}
